Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODClipboard


DraftClosing

The DraftClosing method is called to notify this clipboard object that the specified draft is about to be closed or reverted.

void DraftClosing (in ODDraft draft);
draft
A reference to the draft being closed or reverted.
DISCUSSION
The document shell or container application calls this method when the specified draft is about to be closed or reverted. Parts must not call this method.

This method can be used to ensure the integrity of this clipboard object's reference to the destination draft object involved in paste operations. If the specified draft is closed or reverted, the clipboard's reference to the draft becomes invalid and must be deleted to avoid the possible corruption of destination draft objects.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help